package com.ruoyi.community.mapper;

import com.ruoyi.community.domain.PayHisHouse;
import com.ruoyi.community.domain.PayHisHouseKey;
import com.ruoyi.community.domain.pay.PayStatistics;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;
import java.util.List;

@Mapper
public interface PayHisHouseMapper {
    int deleteByPrimaryKey(PayHisHouseKey key);

    int insert(PayHisHouse record);

    int insertSelective(PayHisHouse record);

    PayHisHouse selectByPrimaryKey(PayHisHouseKey key);

    List<PayHisHouse> selectByHouseId(Integer houseId);

    List<PayHisHouse> selectByHisId(Integer hisId);

    List<PayHisHouse> selectByOrderId(Long orderId);

    int updateByPrimaryKeySelective(PayHisHouse record);

    int updateByPrimaryKey(PayHisHouse record);

    int insertList(List<PayHisHouse> hisHouses);

    List<PayHisHouse> selectPayHisHouseList(PayHisHouse payHisHouse);

    List<PayStatistics> getInfoByCostId(Integer hisId);
}